package com.ketai.dao;

import com.ketai.pojo.Application;
import com.ketai.vo.ApplicationVo;

import javax.naming.NamingException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author:长沙科泰梦想学院-蓝色小药丸
 * @Mission:打造演说·创客型跨境电商与互联网人才
 * @Description:
 * @Date:Create In 2022/8/9 21:01
 **/
public interface ApplicationDao {

    List<ApplicationVo> findAllApplication(String sql, Object [] param) throws SQLException, NamingException;
    Long  getApplicationCount(String sql,Object [] params) throws SQLException, NamingException;

    int checkedActity (String sql, Object[] toArray) throws SQLException, NamingException;
}
